require.config({
	paths : {
		"jquery" : "jquery",
		"common" : "common"		
	}
})

require(["jquery","common"],function($,common){
 	
	$(window).scroll(function(){/*滚动菜单*/
		if($(window).scrollTop() >= 500 && $(window).scrollTop() <=8000){
			$("#LM_rollnav").css("display","block");
		}else{
			$("#LM_rollnav").css("display","none");
		}
	})
	$("#header").load("head.html",function(){common.fn();});/*添加头尾*/
	$("#footer").load("foot.html",function(){common.fn();});
})
